enum {
    PP_DHCP_SWITCH_CDT = 0,
    PP_LOCAL_IP_CDT,
    PP_LOCAL_PORT_CDT,
    PP_MAC_CDT,
    PP_WAY_CDT,
    PP_SUB_MASK_CDT,
    PP_DNS_CDT,
    PP_HOST_NAME_CDT,
    PP_DOMAIN_CDT,
    PP_DEVICE_INFO,

	
    PP_SYSTEM_CRC,
    PP_SYSTEM_ID_MAX,
};

//通信协议参数(存储位置：FRAM)
enum {
	PP_DAC_SLOPE_CDT = PP_SYSTEM_ID_MAX,
    PP_DAC_INTERCEPT_CDT,
    PP_ADC1_SLOPE_CDT,
    PP_ADC1_INTERCEPT_CDT,
	PP_ADC2_SLOPE_CDT,
    PP_ADC2_INTERCEPT_CDT,
	PP_PRESENSOR1_SLOPE_CDT,
    PP_PRESENSOR1_INTERCEPT_CDT,
	PP_PRESENSOR2_SLOPE_CDT,
    PP_PRESENSOR2_INTERCEPT_CDT,
	PP_PRESENSOR3_SLOPE_CDT,
    PP_PRESENSOR3_INTERCEPT_CDT,
	PP_PRESENSOR4_SLOPE_CDT,
    PP_PRESENSOR4_INTERCEPT_CDT,
	PP_PRESENSOR5_SLOPE_CDT,
    PP_PRESENSOR5_INTERCEPT_CDT,
    PP_CELOM_PRE,  //目标压力值（基体腔）
    PP_S1_PRE,
    PP_S2_PRE,
	PP_S3_PRE,
	PP_VALVE_CUR_MAX,
	PP_VALVE_CUR,
	PP_CELOM_PRE_THRESHOLD,  //压力误差值
	PP_S1_PRE_THRESHOLD,
    PP_S2_PRE_THRESHOLD,
	PP_S3_PRE_THRESHOLD,
	PP_VALVE_PID_PERIOD,
	PP_VALVE_PID_P,
	PP_VALVE_PID_I,
	PP_VALVE_PID_D,
	PP_ATMOS,                //检测大气压充气压力
    PP_CALI_VACUUM_DELAY,    //标定抽真空控制参数(可以放在一个ID)
	PP_CALI_VACUUM_SPEED,
	PP_CALI_VACUUM_UNLIM,
	PP_CALI_VACUUM_START_PRE,
	PP_CALI_VACUUM_STOP_PRE,
	PP_CALI_VACUUM_MINTIM,
	PP_CALI_VACUUM_MAXTIM,
	PP_CALI_VACUUM_PERIOD,
	PP_CALI_VACUUM_TURBO_EN,
	PP_CALI_VACUUM_LEAK_EN,
	PP_ADSORB_VACUUM_DELAY,    //吸附抽真空控制参数
	PP_ADSORB_VACUUM_SPEED,
	PP_ADSORB_VACUUM_UNLIM,
	PP_ADSORB_VACUUM_START_PRE,
	PP_ADSORB_VACUUM_STOP_PRE,
	PP_ADSORB_VACUUM_MINTIM,
	PP_ADSORB_VACUUM_MAXTIM,
	PP_ADSORB_VACUUM_PERIOD,
	PP_ADSORB_VACUUM_TURBO_EN,
	PP_ADSORB_VACUUM_LEAK_EN,
    PP_ABSOLUTE_PRE_THRESHOLD,   //吸脱附参数
	PP_RELATIVE_PRE_THRESHOLD,
	PP_PRE_BALANCE_PERIOD,
	PP_PRE_BALANCE_MINTIM,
	PP_PRE_BALANCE_MAXTIM,
	PP_PRE995_BALANCE_MINTIM,
	PP_FILLING_PRE,              //填充压力
	PP_S1_ISUSE,
	PP_S1_MASS,
	PP_S2_ISUSE,
	PP_S2_MASS,
	PP_S3_ISUSE,
	PP_S3_MASS,
	PP_PP0,
	
    PP_APP_CRC,
    PP_DEV_RUNSTATE,
    PP_VALVE_POSINDEX,
    PP_USER_RATE,
    PP_PRESS_TARGET,
    PP_PROVALVE_FLAG,
    PP_PROVALVE_MIN_OPEN_HE,
	PP_PROVALVE_MIN_OPEN_N2,
	PP_PROVALVE_MIN_OPEN_CO2,

	PP_PROVALVE_MIN_OPEN_100mmHg_HE,
	PP_PROVALVE_MIN_OPEN_100mmHg_N2,
	PP_PROVALVE_MIN_OPEN_100mmHg_CO2,

	PP_PROVALVE_MIN_OPEN_760mmHg_HE, 
	PP_PROVALVE_MIN_OPEN_760mmHg_N2,
	PP_PROVALVE_MIN_OPEN_760mmHg_CO2,

	
	PP_PROVALVE_PUMP_OPEN_100mmHg,
	PP_PROVALVE_PUMP_OPEN_10mmHg,
	
	PP_PROVALVE_CALIBRATE_FLAG,
	
	PP_PRESENSOR6_SLOPE_CDT,
	PP_PRESENSOR6_INTERCEPT_CDT,
	
	PP_BASE_CBM,
	PP_TEMP_COE_A,
	PP_TEMP_COE_B,
	PP_TEMP_COE_C,
	
	PP_DAC_CALI_K_HE,
	PP_DAC_CALI_K_N2,
	PP_DAC_CALI_K_CO2,
		
	PP_DAC_CALI_B_HE,
	PP_DAC_CALI_B_N2,
	PP_DAC_CALI_B_CO2,

	PP_DAC_CALI_K1,
	PP_DAC_CALI_B1,
	
	PP_DAC_INF_MIN_STEP_HE,
	PP_DAC_INF_MIN_STEP_N2,
	PP_DAC_INF_MIN_STEP_CO2,
	
	PP_DAC_PUM_MIN_STEP_HE,
	PP_DAC_PUM_MIN_STEP_N2,
	PP_DAC_PUM_MIN_STEP_CO2,
    
    PP_POWER_OFF_FLAG,
    PP_CHANGE_FLAG,
    PP_SERIAL_NUM,
	
    PP_APP_ID_MAX,
};

enum {
    PP_UPDATE_FLAG = PP_APP_ID_MAX,
    PP_DEVICE_ID_INFO,
    PP_UPDATE_SHA256,
	
    PP_UPDATE_CRC,
    PP_UPDATE_ID_MAX,
};
